package com.will.maze;

import android.content.Context;
import android.graphics.BitmapFactory;
import android.view.Display;
import android.view.WindowManager;

public abstract class MazeObject {

	protected int x,y,xDirection,yDirection, width, height;
	Display display;
	public boolean gravOn = false;
	
	public MazeObject(Context context){
		this.width = DrawView.width;
		this.height = DrawView.height;
	}
	
	public void setX(int newX){
		x = newX;
	}
	
	public void setY(int newY){
		y = newY;
	}
	
	public void setXDirection(int xDir){
		xDirection = xDir;
	}
	
	public void setYDirection(int yDir){
		yDirection = yDir;
	}
	
	public int getX(){
		return x;
	}
	
	public int getY(){
		return y;
	}
	
	public int getXDirection(){
		return xDirection;
	}
	
	public int getYDirection(){
		return yDirection;
	}
	
	public int getWidth(){
		return width;
	}
	
	public int getHeight(){
		return height;
	}
	
	public abstract void move(int x, int y, int z, MazeObject mo);
}
